package com.yxinsur.imc.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yxinsur.imc.business.domain.ImcRepoSupplier;
import com.yxinsur.imc.business.domain.ImcSupplier;
import com.yxinsur.imc.business.form.SupplierListForm;
import com.yxinsur.imc.business.vo.SupplierVo;

import java.util.List;

/**
 * 保险公司/供应商Mapper接口
 * 
 * @author imc
 * @date 2021-03-23
 */
public interface ImcSupplierMapper extends BaseMapper<ImcSupplier>
{
    /**
     * 根据tenantId查询所有保险公司/供应商
     * 
     * @return 保险公司/供应商
     */
    public List<ImcRepoSupplier> selectMySuppliers(Long tenantId);
    /**
     * 根据form条件查询供应商库列表
     *
     * @param supplierForm 供应商库
     * @return 供应商库集合
     */
    public List<SupplierVo> selectSupplierList(SupplierListForm supplierForm);

}
